fix test-all so tallying the results won't die trying to list non-existent fatal...
authortsteven4 <tsteven4@gmail.com>
Wed, 11 Jun 2014 07:47:30 +0000 (07:47 +0000)
committertsteven4 <tsteven4@gmail.com>
Wed, 11 Jun 2014 07:47:30 +0000 (07:47 +0000)
gpsbabel/test-all

index cc0755e72bf5450f86961918d1a04108b4716e57..dad2b102b7ae1317051fa68e16bbde462236c0c7 100755 (executable)
@@ -27,7 +27,7 @@ function tally_log()
     local fatals=`grep '^cmd([0-9]*)\*\*\*:' $LOGFILE | wc -l`
     local totals=`grep '^cmd([0-9]*)[*]*:' $LOGFILE | wc -l`
     echo "Fatal Error Cases:"
-    grep '^cmd([0-9]*)\*\*\*:' $LOGFILE
+    grep '^cmd([0-9]*)\*\*\*:' $LOGFILE || true
     echo ""
     echo Error Summary:
     echo "tests with errors and/or unexpected output: $exceptions"